package interview.demo;

import java.util.Objects;

/**
 * @Author tu zy
 * @Date 2020/12/4 17:15
 * @Version 1.0
 */
public class ThreadDemo1 {
    public static void main(String[] args) {
        show();
        Object object = new Object();
        object.notifyAll();
        object.notify();
    }


    public static synchronized void show(){
        System.out.println("123");
    }
}
